package com.example.kotlineventtracker.model

import okhttp3.RequestBody
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.Header
import retrofit2.http.POST


interface ApiService {
    @POST("pageManage/list")
    fun getPageEvents(@Header("token") token: String, @Body body: RequestBody): Call<PointResponse>

    @POST("FrontEventAnalysis/queryByIdAndDate")
    fun getEventInfo(@Header("token") token: String, @Body body: RequestBody): Call<InfoResponse>
}
